# Makefile to create DE.pdf
# 
# a series of lecture notes based on the lectures of Chris Wotjan
#

DERIVATIVES = derivatives/derivatives.tex
INTEGRALS = integrals/integrals.tex
SERIES = series/fourier.tex series/taylor.tex
OPTIMIZATION = optimization/optimization.tex

SRC = $(DERIVATIVES) $(INTEGRALS) $(SERIES) $(OPTIMIZATION)


DE : $(SRC) 
	pdflatex DE.tex  
	makeindex DE.tex
	sage DE.sagetex.sage
	pdflatex DE.tex  
     
clean : 
	@echo "cleaning files ..."
	rm -rf *.py *.sage *.log *.aux *.aut *.toc *.out *.sout *.scmd *.pdf *.ilg *.ind
